/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.fatecpg.ads.es3.tp.view;

import br.com.fatecpg.ads.es3.tp.bean.BalanceteVerificacaoBean;
import java.awt.Component;
import java.awt.event.KeyEvent;
import java.io.*;
import java.text.DecimalFormat;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import br.com.fatecpg.ads.es3.tp.persistence.Icone;
import br.com.fatecpg.ads.es3.tp.persistence.Backup;
import br.com.fatecpg.ads.es3.tp.persistence.ControleCampos;

/**
 *
 * @author Felipe
 */
public class TelaBalanceteVerificacao extends javax.swing.JFrame {

    /**
     * Creates new form TelaBalanceteVerificacao
     */

    File arquivo = new File("backup\\backup.txt");
    ControleCampos controle = new ControleCampos() {
    };
    //BalanceteVerificacaoBean bean = new BalanceteVerificacaoBean();
    Backup bak = new Backup();

    public TelaBalanceteVerificacao() {
        initComponents();
        controle.setValoresTxt(PanelCredito);
        controle.setValoresTxt(PanelDebito);
        this.setLocationRelativeTo(null);
        Icone.Icone(this, "icone.png");
        setTitle("Balancete de Verificação");
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jTextField7 = new javax.swing.JTextField();
        PanelBotoes = new javax.swing.JPanel();
        btnNovo = new javax.swing.JButton();
        btnEditar = new javax.swing.JButton();
        btnDR = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();
        btnSalvar = new javax.swing.JButton();
        btnRestaurar = new javax.swing.JButton();
        btnSair = new javax.swing.JButton();
        PanelCredito = new javax.swing.JPanel();
        jLabel16 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        txtDupPagar = new javax.swing.JFormattedTextField();
        txtCapSocial = new javax.swing.JFormattedTextField();
        txtVenda = new javax.swing.JFormattedTextField();
        txtDescOb = new javax.swing.JFormattedTextField();
        txtFinanc = new javax.swing.JFormattedTextField();
        txtIcmsReco = new javax.swing.JFormattedTextField();
        txtDepreAcumulada = new javax.swing.JFormattedTextField();
        jLabel48 = new javax.swing.JLabel();
        jLabel49 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        jLabel51 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        PanelDebito = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        txtCaixa = new javax.swing.JFormattedTextField();
        txtBanco = new javax.swing.JFormattedTextField();
        txtMercadorias = new javax.swing.JFormattedTextField();
        txtVeic = new javax.swing.JFormattedTextField();
        txtMaqEquip = new javax.swing.JFormattedTextField();
        txtMatExp = new javax.swing.JFormattedTextField();
        txtMatLimp = new javax.swing.JFormattedTextField();
        txtIcmsRecup = new javax.swing.JFormattedTextField();
        txtIcmsV = new javax.swing.JFormattedTextField();
        txtDescConc = new javax.swing.JFormattedTextField();
        txtJurosFinan = new javax.swing.JFormattedTextField();
        txtDupReceb = new javax.swing.JFormattedTextField();
        txtDepreciacao = new javax.swing.JFormattedTextField();
        txtCmv = new javax.swing.JFormattedTextField();
        txtMoveis = new javax.swing.JFormattedTextField();
        jLabel26 = new javax.swing.JLabel();
        txtAluguel = new javax.swing.JFormattedTextField();
        txtEnergiaEletrica = new javax.swing.JFormattedTextField();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        txtSalarios = new javax.swing.JFormattedTextField();
        txtEncargos = new javax.swing.JFormattedTextField();
        jLabel29 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        txtAplicacao = new javax.swing.JFormattedTextField();
        jLabel32 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jLabel58 = new javax.swing.JLabel();
        jLabel59 = new javax.swing.JLabel();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jLabel37 = new javax.swing.JLabel();
        jLabel38 = new javax.swing.JLabel();
        jLabel39 = new javax.swing.JLabel();
        jLabel60 = new javax.swing.JLabel();
        jLabel61 = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        txtMaterialEmb = new javax.swing.JFormattedTextField();
        jLabel62 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        txtMaterialHigiene = new javax.swing.JFormattedTextField();
        jLabel63 = new javax.swing.JLabel();
        txtTotalCredito = new javax.swing.JFormattedTextField();
        jLabel22 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        txtTotalDebito = new javax.swing.JFormattedTextField();

        jTextField7.setText("jTextField7");

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        setForeground(new java.awt.Color(79, 79, 79));
        setIconImages(null);
        setLocationByPlatform(true);
        setMinimumSize(new java.awt.Dimension(800, 600));
        setName("TelaBalancete"); // NOI18N
        setResizable(false);
        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                confirmar(evt);
            }
        });

        PanelBotoes.setAutoscrolls(true);

        btnNovo.setText("Novo");
        btnNovo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNovoActionPerformed(evt);
            }
        });

        btnEditar.setText("Editar");
        btnEditar.setEnabled(false);
        btnEditar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditarActionPerformed(evt);
            }
        });

        btnDR.setText("DR");
        btnDR.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnDRActionPerformed(evt);
            }
        });

        btnCancelar.setText("Cancelar");
        btnCancelar.setEnabled(false);
        btnCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarActionPerformed(evt);
            }
        });

        btnSalvar.setText("Salvar");
        btnSalvar.setEnabled(false);
        btnSalvar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSalvarActionPerformed(evt);
            }
        });

        btnRestaurar.setText("Restaurar");
        btnRestaurar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnRestaurarActionPerformed(evt);
            }
        });

        btnSair.setText("Sair");
        btnSair.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSairActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout PanelBotoesLayout = new javax.swing.GroupLayout(PanelBotoes);
        PanelBotoes.setLayout(PanelBotoesLayout);
        PanelBotoesLayout.setHorizontalGroup(
            PanelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelBotoesLayout.createSequentialGroup()
                .addGap(64, 64, 64)
                .addComponent(btnNovo)
                .addGap(40, 40, 40)
                .addComponent(btnSalvar)
                .addGap(45, 45, 45)
                .addComponent(btnEditar)
                .addGap(45, 45, 45)
                .addComponent(btnDR)
                .addGap(35, 35, 35)
                .addComponent(btnRestaurar)
                .addGap(18, 18, 18)
                .addComponent(btnCancelar)
                .addGap(16, 16, 16)
                .addComponent(btnSair)
                .addContainerGap(23, Short.MAX_VALUE))
        );
        PanelBotoesLayout.setVerticalGroup(
            PanelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelBotoesLayout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addGroup(PanelBotoesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnNovo)
                    .addComponent(btnEditar)
                    .addComponent(btnDR)
                    .addComponent(btnCancelar)
                    .addComponent(btnSalvar)
                    .addComponent(btnRestaurar)
                    .addComponent(btnSair))
                .addContainerGap(26, Short.MAX_VALUE))
        );

        PanelCredito.setBorder(javax.swing.BorderFactory.createTitledBorder("Crédito"));
        PanelCredito.setPreferredSize(new java.awt.Dimension(503, 450));
        PanelCredito.setLayout(new java.awt.GridBagLayout());

        jLabel16.setText("Venda");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel16, gridBagConstraints);

        jLabel15.setText("Capital Social");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel15, gridBagConstraints);

        jLabel14.setText("Duplicatas a pagar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel14, gridBagConstraints);

        jLabel3.setText("Descontos Obitidos");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 11;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel3, gridBagConstraints);

        jLabel6.setText("Financiamentos");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel6, gridBagConstraints);

        jLabel8.setText("ICMS a Recolher");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 17;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel8, gridBagConstraints);

        jLabel24.setText("Depreciação acumulada");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(jLabel24, gridBagConstraints);

        txtDupPagar.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDupPagar.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDupPagar.setEnabled(false);
        txtDupPagar.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtDupPagar, gridBagConstraints);

        txtCapSocial.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtCapSocial.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtCapSocial.setEnabled(false);
        txtCapSocial.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtCapSocial, gridBagConstraints);

        txtVenda.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtVenda.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtVenda.setEnabled(false);
        txtVenda.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtVenda, gridBagConstraints);

        txtDescOb.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDescOb.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDescOb.setEnabled(false);
        txtDescOb.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 11;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtDescOb, gridBagConstraints);

        txtFinanc.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtFinanc.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtFinanc.setEnabled(false);
        txtFinanc.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtFinanc, gridBagConstraints);

        txtIcmsReco.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtIcmsReco.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtIcmsReco.setEnabled(false);
        txtIcmsReco.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 17;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtIcmsReco, gridBagConstraints);

        txtDepreAcumulada.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDepreAcumulada.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDepreAcumulada.setEnabled(false);
        txtDepreAcumulada.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_valores_credito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 5;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(20, 24, 20, 24);
        PanelCredito.add(txtDepreAcumulada, gridBagConstraints);

        jLabel48.setText("PC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel48, gridBagConstraints);

        jLabel49.setText("PL");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel49, gridBagConstraints);

        jLabel50.setText("Receita");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 5;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel50, gridBagConstraints);

        jLabel51.setText("Receita");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 11;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 5;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel51, gridBagConstraints);

        jLabel52.setText("PC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel52, gridBagConstraints);

        jLabel53.setText("PC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 17;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel53, gridBagConstraints);

        jLabel54.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        PanelCredito.add(jLabel54, gridBagConstraints);

        PanelDebito.setBorder(javax.swing.BorderFactory.createTitledBorder("Débito"));
        PanelDebito.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        PanelDebito.setLayout(new java.awt.GridBagLayout());

        jLabel1.setText("Caixa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel1, gridBagConstraints);

        jLabel2.setText("Banco");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel2, gridBagConstraints);

        jLabel4.setText("Móveis");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel4, gridBagConstraints);

        jLabel5.setText("Mercadorias");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel5, gridBagConstraints);

        jLabel11.setText("Veículo");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel11, gridBagConstraints);

        jLabel12.setText("Maq. e Equip.");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(15, 17, 1, 1);
        PanelDebito.add(jLabel12, gridBagConstraints);

        jLabel9.setText("Mat. de Escritório");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(12, 17, 1, 1);
        PanelDebito.add(jLabel9, gridBagConstraints);

        jLabel10.setText("Mat. de Limpeza");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel10, gridBagConstraints);

        jLabel17.setText("ICMS a Recuperar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel17, gridBagConstraints);

        jLabel18.setText("ICMS de Venda");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel18, gridBagConstraints);

        jLabel19.setText("Desconto Concedido");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 22;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel19, gridBagConstraints);

        jLabel20.setText("Juros s/ Financiamento");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 24;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel20, gridBagConstraints);

        jLabel13.setText("Duplicatas a Receber");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 26;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel13, gridBagConstraints);

        jLabel23.setText("Depreciação");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 28;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel23, gridBagConstraints);

        jLabel25.setText("CMV");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 30;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(14, 17, 1, 1);
        PanelDebito.add(jLabel25, gridBagConstraints);

        txtCaixa.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtCaixa.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtCaixa.setEnabled(false);
        txtCaixa.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 11, 1, 1);
        PanelDebito.add(txtCaixa, gridBagConstraints);

        txtBanco.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtBanco.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtBanco.setEnabled(false);
        txtBanco.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtBanco, gridBagConstraints);

        txtMercadorias.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMercadorias.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMercadorias.setEnabled(false);
        txtMercadorias.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtMercadorias, gridBagConstraints);

        txtVeic.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtVeic.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtVeic.setEnabled(false);
        txtVeic.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtVeicActionPerformed(evt);
            }
        });
        txtVeic.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtVeic, gridBagConstraints);

        txtMaqEquip.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMaqEquip.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMaqEquip.setEnabled(false);
        txtMaqEquip.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(12, 11, 1, 1);
        PanelDebito.add(txtMaqEquip, gridBagConstraints);

        txtMatExp.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMatExp.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMatExp.setEnabled(false);
        txtMatExp.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(6, 11, 1, 1);
        PanelDebito.add(txtMatExp, gridBagConstraints);

        txtMatLimp.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMatLimp.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMatLimp.setEnabled(false);
        txtMatLimp.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                txtValoresPadrão(evt);
            }
        });
        txtMatLimp.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtMatLimp, gridBagConstraints);

        txtIcmsRecup.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtIcmsRecup.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtIcmsRecup.setEnabled(false);
        txtIcmsRecup.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtIcmsRecupActionPerformed(evt);
            }
        });
        txtIcmsRecup.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtIcmsRecup, gridBagConstraints);

        txtIcmsV.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtIcmsV.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtIcmsV.setEnabled(false);
        txtIcmsV.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtIcmsV, gridBagConstraints);

        txtDescConc.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDescConc.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDescConc.setEnabled(false);
        txtDescConc.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 22;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtDescConc, gridBagConstraints);

        txtJurosFinan.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtJurosFinan.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtJurosFinan.setEnabled(false);
        txtJurosFinan.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 24;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtJurosFinan, gridBagConstraints);

        txtDupReceb.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDupReceb.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDupReceb.setEnabled(false);
        txtDupReceb.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 26;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtDupReceb, gridBagConstraints);

        txtDepreciacao.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtDepreciacao.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtDepreciacao.setEnabled(false);
        txtDepreciacao.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 28;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtDepreciacao, gridBagConstraints);

        txtCmv.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtCmv.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtCmv.setEnabled(false);
        txtCmv.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 30;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(8, 11, 1, 1);
        PanelDebito.add(txtCmv, gridBagConstraints);

        txtMoveis.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMoveis.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMoveis.setEnabled(false);
        txtMoveis.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtMoveis, gridBagConstraints);

        jLabel26.setText("Energia Elétrica");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 32;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 17;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel26, gridBagConstraints);

        txtAluguel.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtAluguel.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtAluguel.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtAluguel.setEnabled(false);
        txtAluguel.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 34;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtAluguel, gridBagConstraints);
        txtAluguel.getAccessibleContext().setAccessibleDescription("");

        txtEnergiaEletrica.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtEnergiaEletrica.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtEnergiaEletrica.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtEnergiaEletrica.setEnabled(false);
        txtEnergiaEletrica.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 32;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtEnergiaEletrica, gridBagConstraints);

        jLabel27.setText("Aluguel");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 34;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 75;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel27, gridBagConstraints);

        jLabel28.setText("Salários");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 36;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 73;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(13, 17, 1, 1);
        PanelDebito.add(jLabel28, gridBagConstraints);

        txtSalarios.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtSalarios.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtSalarios.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtSalarios.setEnabled(false);
        txtSalarios.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 36;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 11, 1, 1);
        PanelDebito.add(txtSalarios, gridBagConstraints);

        txtEncargos.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtEncargos.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtEncargos.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtEncargos.setEnabled(false);
        txtEncargos.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 38;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtEncargos, gridBagConstraints);

        jLabel29.setText("Encargos Sociais");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 38;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 31;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel29, gridBagConstraints);

        jLabel7.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel7, gridBagConstraints);

        jLabel30.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel30, gridBagConstraints);

        jLabel31.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel31, gridBagConstraints);

        jLabel46.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 36;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel46, gridBagConstraints);

        jLabel47.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 38;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel47, gridBagConstraints);

        jLabel55.setText("Aplicação");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel55, gridBagConstraints);

        txtAplicacao.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtAplicacao.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtAplicacao.setEnabled(false);
        txtAplicacao.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtAplicacao, gridBagConstraints);

        jLabel32.setText("ANC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel32, gridBagConstraints);

        jLabel33.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel33, gridBagConstraints);

        jLabel34.setText("ANC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel34, gridBagConstraints);

        jLabel56.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 34;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel56, gridBagConstraints);

        jLabel57.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 32;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel57, gridBagConstraints);

        jLabel58.setText("Custo");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 30;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 13;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel58, gridBagConstraints);

        jLabel59.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 28;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel59, gridBagConstraints);

        jLabel35.setText("ANC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel35, gridBagConstraints);

        jLabel36.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel36, gridBagConstraints);

        jLabel37.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel37, gridBagConstraints);

        jLabel38.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel38, gridBagConstraints);

        jLabel39.setText("Receita");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel39, gridBagConstraints);

        jLabel60.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 22;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel60, gridBagConstraints);

        jLabel61.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 24;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel61, gridBagConstraints);

        jLabel40.setText("AC");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 26;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel40, gridBagConstraints);

        jLabel41.setText("Material Embalagem");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 40;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 23;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(10, 17, 1, 1);
        PanelDebito.add(jLabel41, gridBagConstraints);

        txtMaterialEmb.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMaterialEmb.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMaterialEmb.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtMaterialEmb.setEnabled(false);
        txtMaterialEmb.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 40;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(7, 11, 1, 1);
        PanelDebito.add(txtMaterialEmb, gridBagConstraints);

        jLabel62.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 40;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel62, gridBagConstraints);

        jLabel42.setText("Material Higiene");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 42;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 42;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(15, 17, 1, 1);
        PanelDebito.add(jLabel42, gridBagConstraints);

        txtMaterialHigiene.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtMaterialHigiene.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtMaterialHigiene.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        txtMaterialHigiene.setEnabled(false);
        txtMaterialHigiene.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyTyped(java.awt.event.KeyEvent evt) {
                limita_caracteres_debito(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 42;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 122;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(12, 11, 19, 1);
        PanelDebito.add(txtMaterialHigiene, gridBagConstraints);

        jLabel63.setText("Despesa");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 42;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(11, 126, 1, 1);
        PanelDebito.add(jLabel63, gridBagConstraints);

        jScrollPane1.setViewportView(PanelDebito);
        PanelDebito.getAccessibleContext().setAccessibleParent(this);

        txtTotalCredito.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtTotalCredito.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtTotalCredito.setEnabled(false);

        jLabel22.setText("Total");

        jLabel21.setText("Total");

        txtTotalDebito.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.NumberFormatter(new java.text.DecimalFormat("#0.00"))));
        txtTotalDebito.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
        txtTotalDebito.setEnabled(false);
        txtTotalDebito.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtTotalDebitoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(PanelBotoes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(193, 193, 193))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(36, 36, 36)
                        .addComponent(jLabel21)
                        .addGap(100, 100, 100)
                        .addComponent(txtTotalDebito, javax.swing.GroupLayout.PREFERRED_SIZE, 235, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(147, 147, 147)
                        .addComponent(jLabel22, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(13, 13, 13)
                        .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 542, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 6, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addComponent(PanelCredito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(51, 51, 51))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(199, 199, 199)
                        .addComponent(txtTotalCredito, javax.swing.GroupLayout.PREFERRED_SIZE, 235, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(120, 120, 120))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(PanelCredito, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 520, Short.MAX_VALUE))
                .addGap(33, 33, 33)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtTotalCredito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel22)
                    .addComponent(jLabel21)
                    .addComponent(txtTotalDebito, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(11, 11, 11)
                .addComponent(PanelBotoes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnEditarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditarActionPerformed
        controle.setHabilitaCampos(PanelDebito);
        controle.setHabilitaCampos(PanelCredito);
        txtCaixa.requestFocus();
        btnSalvar.setEnabled(true);
        btnEditar.setEnabled(false);
        btnDR.setEnabled(false);
        btnSair.setEnabled(false);
        btnNovo.setEnabled(false);
        btnCancelar.setEnabled(true);
        btnRestaurar.setEnabled(false);

    }//GEN-LAST:event_btnEditarActionPerformed

    private void btnNovoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNovoActionPerformed
        controle.setHabilitaCampos(PanelDebito);
        controle.setHabilitaCampos(PanelCredito);
        controle.setValoresTxt(PanelDebito);
        controle.setValoresTxt(PanelCredito);
        txtCaixa.requestFocus();
        btnSalvar.setEnabled(true);
        btnEditar.setEnabled(false);
        btnDR.setEnabled(false);
        btnSair.setEnabled(false);
        btnNovo.setEnabled(false);
        btnCancelar.setEnabled(true);
        btnRestaurar.setEnabled(false);

    }//GEN-LAST:event_btnNovoActionPerformed

    private void btnSalvarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSalvarActionPerformed
        try {
            controle.somaCampos(PanelDebito, txtTotalDebito);
            controle.somaCampos(PanelCredito, txtTotalCredito);


            BalanceteVerificacaoBean.getInstance().setCaixa(Double.parseDouble(controle.retiraVirg(txtCaixa.getText())));
            BalanceteVerificacaoBean.getInstance().setBanco(Double.parseDouble(controle.retiraVirg(txtBanco.getText())));
            BalanceteVerificacaoBean.getInstance().setAplicação(Double.parseDouble(controle.retiraVirg(txtAplicacao.getText())));
            BalanceteVerificacaoBean.getInstance().setMoveis(Double.parseDouble(controle.retiraVirg(txtMoveis.getText())));
            BalanceteVerificacaoBean.getInstance().setMercadorias(Double.parseDouble(controle.retiraVirg(txtMercadorias.getText())));
            BalanceteVerificacaoBean.getInstance().setVeiculo(Double.parseDouble(controle.retiraVirg(txtVeic.getText())));
            BalanceteVerificacaoBean.getInstance().setMaqEquip(Double.parseDouble(controle.retiraVirg(txtMaqEquip.getText())));
            BalanceteVerificacaoBean.getInstance().setMatExp(Double.parseDouble(controle.retiraVirg(txtMatExp.getText())));
            BalanceteVerificacaoBean.getInstance().setMatLimp(Double.parseDouble(controle.retiraVirg(txtMatLimp.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsRecup(Double.parseDouble(controle.retiraVirg(txtIcmsRecup.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsVenda(Double.parseDouble(controle.retiraVirg(txtIcmsV.getText())));
            BalanceteVerificacaoBean.getInstance().setDescConced(Double.parseDouble(controle.retiraVirg(txtDescConc.getText())));
            BalanceteVerificacaoBean.getInstance().setJurosFinanc(Double.parseDouble(controle.retiraVirg(txtJurosFinan.getText())));
            BalanceteVerificacaoBean.getInstance().setDupReceb(Double.parseDouble(controle.retiraVirg(txtDupReceb.getText())));
            BalanceteVerificacaoBean.getInstance().setDepreciacao(Double.parseDouble(controle.retiraVirg(txtDepreciacao.getText())));
            BalanceteVerificacaoBean.getInstance().setCmv(Double.parseDouble(controle.retiraVirg(txtCmv.getText())));
            BalanceteVerificacaoBean.getInstance().setEnergia(Double.parseDouble(controle.retiraVirg(txtEnergiaEletrica.getText())));
            BalanceteVerificacaoBean.getInstance().setAluguelPassivo(Double.parseDouble(controle.retiraVirg(txtAluguel.getText())));
            BalanceteVerificacaoBean.getInstance().setEncargos(Double.parseDouble(controle.retiraVirg(txtEncargos.getText())));
            BalanceteVerificacaoBean.getInstance().setSalario(Double.parseDouble(controle.retiraVirg(txtSalarios.getText())));
            BalanceteVerificacaoBean.getInstance().setMatEmb(Double.parseDouble(controle.retiraVirg(txtMaterialEmb.getText())));
            BalanceteVerificacaoBean.getInstance().setMatHigiene(Double.parseDouble(controle.retiraVirg(txtMaterialHigiene.getText())));

            BalanceteVerificacaoBean.getInstance().setDupPagar(Double.parseDouble(controle.retiraVirg(txtDupPagar.getText())));
            BalanceteVerificacaoBean.getInstance().setCapSocial(Double.parseDouble(controle.retiraVirg(txtCapSocial.getText())));
            BalanceteVerificacaoBean.getInstance().setVenda(Double.parseDouble(controle.retiraVirg(txtVenda.getText())));
            BalanceteVerificacaoBean.getInstance().setDescOb(Double.parseDouble(controle.retiraVirg(txtDescOb.getText())));
            BalanceteVerificacaoBean.getInstance().setFinanc(Double.parseDouble(controle.retiraVirg(txtFinanc.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsReco(Double.parseDouble(controle.retiraVirg(txtIcmsReco.getText())));
            BalanceteVerificacaoBean.getInstance().setDepreAcumulada(Double.parseDouble(controle.retiraVirg(txtDepreAcumulada.getText())));


            JOptionPane.showMessageDialog(null, "Dados salvos com sucesso!");

            btnSalvar.setEnabled(false);
            btnEditar.setEnabled(true);
            btnDR.setEnabled(true);
            btnSair.setEnabled(true);
            btnNovo.setEnabled(true);
            btnCancelar.setEnabled(false);
            btnRestaurar.setEnabled(true);
            controle.setDesabilitaCampos(PanelDebito);
            controle.setDesabilitaCampos(PanelCredito);

            bak.setBackup(PanelDebito, "BackupDebito.txt");
            bak.setBackup(PanelCredito, "BackupCredito.txt");
        } catch (IOException ex) {
            JOptionPane.showMessageDialog(null, "Não foi possível salvar os dados");
        }
    }//GEN-LAST:event_btnSalvarActionPerformed

    private void btnDRActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnDRActionPerformed

        String capSocial = "";
        capSocial = txtCapSocial.getText();
        // if (capSocial.equals("0,00")) {
        //   JOptionPane.showMessageDialog(null, "Falha ao receber os dados!");
        //} else {
        TelaDemostrativo telaDemonstrativo = new TelaDemostrativo();
        telaDemonstrativo.setVisible(true);
        //}
    }//GEN-LAST:event_btnDRActionPerformed

    private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarActionPerformed

        int opcao = JOptionPane.showConfirmDialog(null, "Todos os dados serão perdidos", "Cancelar Operação", JOptionPane.CANCEL_OPTION);
        if (opcao == JOptionPane.OK_OPTION) {
            controle.setDesabilitaCampos(PanelDebito);
            controle.setDesabilitaCampos(PanelCredito);

            controle.setValoresTxt(PanelDebito);
            controle.setValoresTxt(PanelCredito);
            txtTotalCredito.setText("");
            txtTotalDebito.setText("");
            btnSalvar.setEnabled(false);
            btnEditar.setEnabled(true);
            btnDR.setEnabled(true);
            btnSair.setEnabled(true);
            btnNovo.setEnabled(true);
            btnCancelar.setEnabled(false);
            btnRestaurar.setEnabled(true);
        }


    }//GEN-LAST:event_btnCancelarActionPerformed

    private void confirmar(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_confirmar
        int opcao = JOptionPane.showConfirmDialog(null, "Deseja relmente sair do sistema?", "Esta ação é irreversivel", JOptionPane.YES_NO_OPTION);
        if (opcao == JOptionPane.YES_OPTION) {
            System.exit(0);
        } else {
            setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
        }
    }//GEN-LAST:event_confirmar

    private void btnRestaurarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRestaurarActionPerformed
        try {
            bak.getBackup(PanelCredito, "BackupCredito.txt", 14);
            bak.getBackup(PanelDebito, "BackupDebito.txt", 22);
            controle.somaCampos(PanelDebito, txtTotalDebito);
            controle.somaCampos(PanelCredito, txtTotalCredito);
            
            BalanceteVerificacaoBean.getInstance().setCaixa(Double.parseDouble(controle.retiraVirg(txtCaixa.getText())));
            BalanceteVerificacaoBean.getInstance().setBanco(Double.parseDouble(controle.retiraVirg(txtBanco.getText())));
            BalanceteVerificacaoBean.getInstance().setAplicação(Double.parseDouble(controle.retiraVirg(txtAplicacao.getText())));
            BalanceteVerificacaoBean.getInstance().setMoveis(Double.parseDouble(controle.retiraVirg(txtMoveis.getText())));
            BalanceteVerificacaoBean.getInstance().setMercadorias(Double.parseDouble(controle.retiraVirg(txtMercadorias.getText())));
            BalanceteVerificacaoBean.getInstance().setVeiculo(Double.parseDouble(controle.retiraVirg(txtVeic.getText())));
            BalanceteVerificacaoBean.getInstance().setMaqEquip(Double.parseDouble(controle.retiraVirg(txtMaqEquip.getText())));
            BalanceteVerificacaoBean.getInstance().setMatExp(Double.parseDouble(controle.retiraVirg(txtMatExp.getText())));
            BalanceteVerificacaoBean.getInstance().setMatLimp(Double.parseDouble(controle.retiraVirg(txtMatLimp.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsRecup(Double.parseDouble(controle.retiraVirg(txtIcmsRecup.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsVenda(Double.parseDouble(controle.retiraVirg(txtIcmsV.getText())));
            BalanceteVerificacaoBean.getInstance().setDescConced(Double.parseDouble(controle.retiraVirg(txtDescConc.getText())));
            BalanceteVerificacaoBean.getInstance().setJurosFinanc(Double.parseDouble(controle.retiraVirg(txtJurosFinan.getText())));
            BalanceteVerificacaoBean.getInstance().setDupReceb(Double.parseDouble(controle.retiraVirg(txtDupReceb.getText())));
            BalanceteVerificacaoBean.getInstance().setDepreciacao(Double.parseDouble(controle.retiraVirg(txtDepreciacao.getText())));
            BalanceteVerificacaoBean.getInstance().setCmv(Double.parseDouble(controle.retiraVirg(txtCmv.getText())));
            BalanceteVerificacaoBean.getInstance().setEnergia(Double.parseDouble(controle.retiraVirg(txtEnergiaEletrica.getText())));
            BalanceteVerificacaoBean.getInstance().setAluguelPassivo(Double.parseDouble(controle.retiraVirg(txtAluguel.getText())));
            BalanceteVerificacaoBean.getInstance().setEncargos(Double.parseDouble(controle.retiraVirg(txtEncargos.getText())));
            BalanceteVerificacaoBean.getInstance().setSalario(Double.parseDouble(controle.retiraVirg(txtSalarios.getText())));
            BalanceteVerificacaoBean.getInstance().setMatEmb(Double.parseDouble(controle.retiraVirg(txtMaterialEmb.getText())));
            BalanceteVerificacaoBean.getInstance().setMatHigiene(Double.parseDouble(controle.retiraVirg(txtMaterialHigiene.getText())));

            BalanceteVerificacaoBean.getInstance().setDupPagar(Double.parseDouble(controle.retiraVirg(txtDupPagar.getText())));
            BalanceteVerificacaoBean.getInstance().setCapSocial(Double.parseDouble(controle.retiraVirg(txtCapSocial.getText())));
            BalanceteVerificacaoBean.getInstance().setVenda(Double.parseDouble(controle.retiraVirg(txtVenda.getText())));
            BalanceteVerificacaoBean.getInstance().setDescOb(Double.parseDouble(controle.retiraVirg(txtDescOb.getText())));
            BalanceteVerificacaoBean.getInstance().setFinanc(Double.parseDouble(controle.retiraVirg(txtFinanc.getText())));
            BalanceteVerificacaoBean.getInstance().setIcmsReco(Double.parseDouble(controle.retiraVirg(txtIcmsReco.getText())));
            BalanceteVerificacaoBean.getInstance().setDepreAcumulada(Double.parseDouble(controle.retiraVirg(txtDepreAcumulada.getText())));
            
            btnSalvar.setEnabled(false);
            btnEditar.setEnabled(true);
            btnDR.setEnabled(true);
            btnSair.setEnabled(true);
            btnNovo.setEnabled(true);
            btnCancelar.setEnabled(false);
            btnRestaurar.setEnabled(true);
            
            
        } catch (IOException ex) {
            Logger.getLogger(TelaBalanceteVerificacao.class.getName()).log(Level.SEVERE, null, ex);
        }

    }//GEN-LAST:event_btnRestaurarActionPerformed

    private void btnSairActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSairActionPerformed
        int opcao = JOptionPane.showConfirmDialog(null, "Deseja relmente sair do sistema?", "Esta ação é irreversivel", JOptionPane.YES_NO_OPTION);
        if (opcao == JOptionPane.YES_OPTION) {
            System.exit(0);
        } else {
            setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
        }
    }//GEN-LAST:event_btnSairActionPerformed

    private void txtVeicActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtVeicActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtVeicActionPerformed

    private void txtTotalDebitoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTotalDebitoActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtTotalDebitoActionPerformed

    private void txtIcmsRecupActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtIcmsRecupActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtIcmsRecupActionPerformed

    private void txtValoresPadrão(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_txtValoresPadrão
    }//GEN-LAST:event_txtValoresPadrão

    private void limita_caracteres_debito(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_limita_caracteres_debito
        if (!((evt.getKeyChar() >= KeyEvent.VK_0
                && evt.getKeyChar() <= KeyEvent.VK_9)
                || (evt.getKeyChar() == KeyEvent.VK_ENTER
                || evt.getKeyChar() == KeyEvent.VK_BACK_SPACE
                || evt.getKeyChar() == KeyEvent.VK_COMMA
                || evt.getKeyChar() == KeyEvent.VK_PERIOD))) {
            evt.consume();
        }

    }//GEN-LAST:event_limita_caracteres_debito

    private void limita_valores_credito(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_limita_valores_credito
        if (!((evt.getKeyChar() >= KeyEvent.VK_0
                && evt.getKeyChar() <= KeyEvent.VK_9)
                || (evt.getKeyChar() == KeyEvent.VK_ENTER
                || evt.getKeyChar() == KeyEvent.VK_BACK_SPACE
                || evt.getKeyChar() == KeyEvent.VK_COMMA
                || evt.getKeyChar() == KeyEvent.VK_PERIOD))) {
            evt.consume();
        }
    }//GEN-LAST:event_limita_valores_credito

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /*
         * Set the Nimbus look and feel
         */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /*
         * If Nimbus (introduced in Java SE 6) is not available, stay with the
         * default look and feel. For details see
         * http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TelaBalanceteVerificacao.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TelaBalanceteVerificacao.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TelaBalanceteVerificacao.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TelaBalanceteVerificacao.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /*
         * Create and display the form
         */

        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {

                new TelaBalanceteVerificacao().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel PanelBotoes;
    public javax.swing.JPanel PanelCredito;
    public javax.swing.JPanel PanelDebito;
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnDR;
    private javax.swing.JButton btnEditar;
    private javax.swing.JButton btnNovo;
    private javax.swing.JButton btnRestaurar;
    private javax.swing.JButton btnSair;
    private javax.swing.JButton btnSalvar;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel60;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextField jTextField7;
    private javax.swing.JFormattedTextField txtAluguel;
    private javax.swing.JFormattedTextField txtAplicacao;
    private javax.swing.JFormattedTextField txtBanco;
    private javax.swing.JFormattedTextField txtCaixa;
    private javax.swing.JFormattedTextField txtCapSocial;
    private javax.swing.JFormattedTextField txtCmv;
    private javax.swing.JFormattedTextField txtDepreAcumulada;
    private javax.swing.JFormattedTextField txtDepreciacao;
    private javax.swing.JFormattedTextField txtDescConc;
    private javax.swing.JFormattedTextField txtDescOb;
    private javax.swing.JFormattedTextField txtDupPagar;
    private javax.swing.JFormattedTextField txtDupReceb;
    private javax.swing.JFormattedTextField txtEncargos;
    private javax.swing.JFormattedTextField txtEnergiaEletrica;
    private javax.swing.JFormattedTextField txtFinanc;
    private javax.swing.JFormattedTextField txtIcmsReco;
    private javax.swing.JFormattedTextField txtIcmsRecup;
    private javax.swing.JFormattedTextField txtIcmsV;
    private javax.swing.JFormattedTextField txtJurosFinan;
    private javax.swing.JFormattedTextField txtMaqEquip;
    private javax.swing.JFormattedTextField txtMatExp;
    private javax.swing.JFormattedTextField txtMatLimp;
    private javax.swing.JFormattedTextField txtMaterialEmb;
    private javax.swing.JFormattedTextField txtMaterialHigiene;
    private javax.swing.JFormattedTextField txtMercadorias;
    private javax.swing.JFormattedTextField txtMoveis;
    private javax.swing.JFormattedTextField txtSalarios;
    private javax.swing.JFormattedTextField txtTotalCredito;
    private javax.swing.JFormattedTextField txtTotalDebito;
    private javax.swing.JFormattedTextField txtVeic;
    private javax.swing.JFormattedTextField txtVenda;
    // End of variables declaration//GEN-END:variables

}
